/**
 * Copyright(c): 2017 com.mjduan All rights reserved.
 * 项目名：learn-spring-web
 * 注意：未经作者允许，不得外传
 */
package com.mjduan.project.web;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.web.WebApplicationInitializer;

/**
 * @author dmj1161859184@126.com 2018-08-18 23:53
 * @version 1.0
 * @since 1.0
 */
public class WebApplicationInitializerImpl implements WebApplicationInitializer {
    private static final Logger LOGGER = LoggerFactory.getLogger(WebApplicationInitializerImpl.class);

    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        LOGGER.info("自定义的实现类:{}", servletContext.toString());
    }
}
